<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <!-- TODO edit this file as standard to make the final base.html -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Vita-Course SSO - Please Login </title>
    <script>
      var context="{{context}}";
    </script>

  </head>


  <body>

    <div class="container">
      <form class="form-signin" role="form" action="{{context}}/login" method="post">
        <h2 class="form-signin-heading">请登录<small class="errorClass">{{error}}</small></h2>
        {{ aff-field }}
        {% if service %}
        <input name="service" type="hidden" value="{{service}}">
        {% endif %}
        <input type="text" name="username" class="form-control" placeholder="Username" required autofocus>
        <input type="password" name="password" class="form-control" placeholder="Password" required>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
      </form>

    </div> <!-- /container -->

  </body>

</html>
